<template>
  <router-view/>

</template>
<script setup>

import {onMounted,reactive, onUnmounted,ref } from "vue"
import {useRoute, useRouter} from "vue-router"
const Route = useRoute()
const Router = useRouter()

// window.addEventListener("resize", function () {
//   location.reload();
// });
// onMounted(() => {
//   let token = sessionStorage.getItem("token")
//   if(!token){
//     Router.push({
//       path:"/login"
//     })
//   }
// })
</script>
<style>
*{
  padding: 0;
  margin: 0;
  /*background-image: url("./assets/img/背景.png");*/
}
</style>